package com.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.book.dto.LoginRequest;
import com.book.entity.User;

public interface UserService extends IService<User> {
    
    /**
     * 用户登录
     */
    String login(LoginRequest loginRequest);
    
    /**
     * 根据用户名查询用户
     */
    User getUserByUsername(String username);
} 